<?php
/**
 *  index.php PHPCMS 入口
 *
 * @copyright			(C) 2005-2010 PHPCMS
 * @license				http://www.phpcms.cn/license/
 * @lastmodify			2010-6-1
 */
 //PHPCMS根目录

define('PHPCMS_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);

include PHPCMS_PATH.'/phpcms/base.php';
$_GET['m'] = $m='pay';
$_GET['c'] = $c='respond';
$_GET['a'] = $a='respond_post';
$Gateway=isset($_POST['Gateway'])?$_POST['Gateway']:'';
if($Gateway=="tenpay")
{
	$Gateway = "Tendirect";
}
else
{
	$Gateway = "Alidirect";
}
$_GET['code'] = $code=$Gateway;
pc_base::creat_app();

?>